﻿namespace Core.Ndatax.Domain.Ris.CheckInResult
{
    public class CheckInResult
    {
        public Code Code { get; set; }
        public bool Result { get; set; }
        public string Error { get; set; }
        public string RespTime { get; set; }
        public Respdata RespData { get; set; }
    }

    public class Code
    {
        public string msgId { get; set; }
        public string sender { get; set; }
        public string receiver { get; set; }
    }

    public class Respdata
    {
        public List[] list { get; set; }
    }

    public class List
    {
        public Requisitionstate requisitionState { get; set; }
    }

    public class Requisitionstate
    {
        public string operateFlag { get; set; }
        public string sheetID { get; set; }
        public Examlist[] examList { get; set; }
        public int stateType { get; set; }
        public int stateResult { get; set; }
        public int result { get; set; }
        public string message { get; set; }
        public string operatorID { get; set; }
        public string operatorName { get; set; }
        public string operatorDate { get; set; }
        public string operatorTime { get; set; }
        public string memo { get; set; }
        public string queueNum { get; set; }
        public string clientIP { get; set; }
        public string checkPoint { get; set; }
        public string checkRoom { get; set; }
        public string ris_requisitionid { get; set; }
        public string documentDomainId { get; set; }
        public string documentUniqueId { get; set; }
        public string requestDomain { get; set; }
        public string patientName { get; set; }
        public string hisIdmz { get; set; }
        public string hisIdzy { get; set; }
        public string visitFlowId { get; set; }
        public string examKSDM { get; set; }
        public int patientStyle { get; set; }
        public string patientId { get; set; }
        public string modalityType { get; set; }
        public string appointmentId { get; set; }
    }

    public class Examlist
    {
        public Exam exam { get; set; }
    }

    public class Exam
    {
        public string itemCode { get; set; }
        public int examState { get; set; }
    }

}
